<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<nav class="navbar navbar-default"></nav>
<nav class="navbar navbar-default navbar-fixed-top">
	<div class="container-fluid">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed"
				data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
				aria-expanded="false">
				<span class="sr-only">Toggle navigation</span> <span
					class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="./"><spring:message code="sys.name" /></a>
		</div>
		<div class="collapse navbar-collapse"
			id="bs-example-navbar-collapse-1">
			<ul class="nav navbar-nav">
				<!--  <li class="dropdown  ${menu=='n'?'active':'' }"><a href="./"
					class="dropdown-toggle" data-toggle="dropdown" role="button"
					aria-haspopup="true" aria-expanded="false">新闻文章 <span
						class="caret"></span></a>
					<ul class="dropdown-menu">
						<c:forEach items="${list }" var="obj">
							<li><a href="news-${obj.newsClassId }-1.html">${obj.newsClassName }
							</a></li>
						</c:forEach>
					</ul></li>-->
				<li class="dropdown  ${menu=='n'?'active':'' }"><a
					href="./news.html">新闻文章</a></li>
				<li class="dropdown  ${menu=='p'?'active':'' }"><a
					href="./shop.html">购物商城</a></li>
				<li class="dropdown  ${menu=='h'?'active':'' }"><a
					href="./hotel.html">酒店预订</a></li>
				<li class="dropdown  ${menu=='f'?'active':'' }"><a
					href="./food.html">美食外卖</a></li>
				<li class="dropdown  ${menu=='c'?'active':'' }"><a
					href="/certificate/certificate.html">资质认证</a></li>
				<li class="dropdown  ${menu=='hp'?'active':'' }"><a
					href="photo/index.html">摄影之家</a></li>
			</ul>
			
			<c:set var="login" value="${not empty sessionScope.user.userRealName }"/>
			<ul class="nav navbar-nav navbar-right">
				<c:if test="${not login}">
					<li><a href="./login.html">登录/注册</a></li>
				</c:if>
				<c:if test="${login}">
					<li class="dropdown"><a href="#" class="dropdown-toggle"
						data-toggle="dropdown" role="button" aria-haspopup="true"
						aria-expanded="false">${sessionScope.user.userRealName } <span
							class="caret"></span>
					</a>
						<ul class="dropdown-menu">
							<li><a href="user.html">个人中心</a></li>
							<li role="separator" class="divider"></li>
							<li><a href="javascipt:void(0);" data-logout="">安全退出</a></li>
						</ul></li>
				</c:if>
			</ul>
		</div>
	</div>
</nav>
<div class="container${param.full==1?'-fluid':""}" style="min-height: 500px;">